 <link href="/res/css/common/fenYe.css" rel="stylesheet">  
 [#if p??]
 <form action="" id="${form!'infoForm'}" method="get" class="infoForm">
   <input type="hidden" id="${mulity!}pageNo" name="pageNo" value="${p.pageNo}"/>  
   [#list p.params?keys as paramkey ]
     <input type="hidden" id="${paramkey!}"  name="${paramkey!}" value="${(p.params[paramkey])!}"/>
   [/#list]
 </form>


<tr>
	<td class="fenye" colspan="100"
		style="text-align: right; background: #f8f8f8;font-size: 12px;"> 
			共 ${p.totalCount} 条记录&nbsp;&nbsp;&nbsp;&nbsp;
			<span style="color: rgb(254, 169, 16);vertical-align: initial;">${p.pageNo}</span> / ${p.totalPage} 
		<input type="text" id="${mulity!}goPage" style="padding-left: 15px;"/>
		<button onclick="${mulity!}goPage()">GO
		</button>
		<a href="[#if !p.firstPage]javascript:${mulity!}goPage(${p.prePage})[#else]javascript:void(0);[/#if]">&lt;</a>
		<a href="[#if !p.lastPage]javascript:${mulity!}goPage(${p.nextPage})[#else]javascript:void(0);[/#if]" style="margin-right: 15px;">&gt;</a>
	</td>
</tr>


[/#if]
	    
<script>
	$("form[id='${form!'infoForm'}']").attr("action" , location.pathname);
	function ${mulity!}goPage(pageNo){
		if(!pageNo){
			pageNo = $("#goPage").val();
			if(isNaN(pageNo)){
				alert("跳转的页码必须为数字");
				return;
			}
			if (pageNo>${p.totalPage} || pageNo<1){
				alert("跳转的页码必须在范围之内");
				return;
			}
		}
		$("input[name='pageNo']").val(pageNo);
		$("form[id='${form!'infoForm'}']").submit();
	}
	function ${mulity!}refresh(){

		${mulity!}goPage(${p.pageNo});
	}
</script>